Created: 2022-07-16
Tags: #fleeting
-> First 440 bytes of MBR are the bootstrap code area
-> On Bios, usually contains first stage of boot loader
Tip: The bootstrap code can be backed up, restored from backup or erased using dd.
#myquestion What's the use of bootstrap code?
-> Other names (DOS or MS-DOS partition table)
Three types of partitions under DOS or MS-DOS partition table
Tip: Dual booting with Windows will require for Windows to reside in a primary partition.
sda1 - sda3 Primary Partition
sda4 Extended Partition
sda5, sda6, ... Logical Parition
Tip:
IF -> partitioning MBR disk
THEN -> consider 33 * 512 byte sector (16.5 KiB) of free unpartitioned spacec at end of disk
WHY -> Just in case you want to convert it to GPT. The space is required for GPT headers
Every start of GUID Partition Table
PMBR (Protective Master Boot Record) also contains bootstrap code area